//package com.java.sample.dialog;
//
//import java.util.Scanner;
//
//public class TerminalConfirmation implements StartupConfirmation {
//
//    @Override
//    public boolean confirm(String title, String message) {
//        System.out.println("\n=== " + title + " ===");
//        System.out.println(message);
//        System.out.print("Confirm startup? (y/n): ");
//
//        Scanner scanner = new Scanner(System.in);
//        String input = scanner.nextLine();
//        scanner.close();
//
//        return "y".equalsIgnoreCase(input.trim());
//    }
//}